package com.xyf.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class QpsTestController {

    @GetMapping("test")
    public String qpsTest() {
        //
        return "ok";
    }

    @GetMapping("test2")
    public String qpsTest2() {
        try {
            Thread.sleep(50L);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return "ok";
    }

}
